package com.zk.algorithm.bean;

/**
 * @author zk
 */
public class TreeNode implements Element {

    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(int val) {
        this.val = val;
    }

    @Override
    public int getVal() {
        return val;
    }

}
